package com.ruoyi.system.service.shopping.impl;

import com.ruoyi.system.domain.shopping.Area;
import com.ruoyi.system.mapper.shopping.AreaMapper;
import com.ruoyi.system.service.shopping.AreaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AreaServiceImpl implements AreaService {
    @Autowired
    private AreaMapper areaMapper;
    @Override
    public List<Area> selectAreaByPid(Integer pid) {
        return areaMapper.selectAreaByPid(pid);
    }
}
